from fastapi import FastAPI
from routers import translator

app = FastAPI()
app.include_router(translator.router)

if __name__ == '__main__':
    import uvicorn
    uvicorn.run(app, host="0.0.0.0", port=8188)

"""
运行：uvicorn main:app --reload --port=8188 --host=0.0.0.0
"""